package dao.auth;

import java.util.List;
import java.util.Map;

import model.auth.Users;
import core.base.page.Page;
import core.base.page.PageRequest;

public interface UsersDao {
	int insert(Users model);
	
	Users getById(Long id);
	
	int deleteById(Long id);
	
	List<Users> queryByProperties(Map filter);
	
	Page<Users> queryForPage(PageRequest<Map> pageReq);
}
